﻿using Entity.FrameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [CustomAttribute(TableName = "sys_PowerConfig_powers", Description = "系统权限表")]
    public class DbPowers
    {
        private int? _id;
        private string _pcode;
        private string _pname;
        private string _memo;
        private string _groupcode;
        private string _ptype;
        private string _pevent;
        private string _status;
        private string _createtime;
        private string _createuser;
        private int? _isdel;
        private string _delmsg;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 权限编码
        /// </summary>
        public string pCode
        {
            set { _pcode = value; }
            get { return _pcode; }
        }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string pName
        {
            set { _pname = value; }
            get { return _pname; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        /// <summary>
        /// 组编码
        /// </summary>
        public string groupCode
        {
            set { _groupcode = value; }
            get { return _groupcode; }
        }
        /// <summary>
        /// 权限类型
        /// </summary>
        public string pType
        {
            set { _ptype = value; }
            get { return _ptype; }
        }
        /// <summary>
        /// 事件
        /// </summary>
        public string pEvent
        {
            set { _pevent = value; }
            get { return _pevent; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delMsg
        {
            set { _delmsg = value; }
            get { return _delmsg; }
        }
        public string pIcon { get; set; }
        /// <summary>
        /// 权限应用(web界面oper操作权限)
        /// </summary>
        public string pUse { get; set; }
    }
}
